{{list data.menu as item}}
<div class="{{ item.active?'item active':'item' }}" onclick="{{ gotoPage(item) }}">
    <div class="{{ 'icon '+item.icon }}"></div>
    <div class="title">{{ item.title }}</div>
</div>
{{/list}}